//
//  CardView.h
//  LottieAnimationTest
//
//  Created by Felix Yin on 2019/4/12.
//  Copyright © 2019 Felix Yin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class CardView;
@protocol CardViewDelegate <NSObject>

- (void) cardViewRemove:(CardView *) view;

@end

@interface CardView : UIView

@property(nonatomic,weak) id<CardViewDelegate> delegate;
@property(nonatomic,strong) UIImageView *imgView;
@property(nonatomic,assign) NSInteger num;

//删除后恢复
- (void) makeUndoAction;

@end

NS_ASSUME_NONNULL_END
